package com.mmd.admin.model.pojo.request.app;

import com.mmd.base.annotation.MobileValid;
import com.mmd.base.utils.CollectionUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.util.List;


@Data
@ApiModel("APP-反馈提交参数")
public class AppFeedBackAddParam {

    @ApiModelProperty("反馈类型")
    @NotBlank(message = "反馈类型不能为空")
    private String feedBackType;

    @ApiModelProperty(value = "反馈内容")
    @NotBlank(message = "反馈内容不能为空")
    private String content;

    @ApiModelProperty(value = "反馈手机号")
    @NotBlank(message = "反馈手机号不能为空")
    @MobileValid(message = "反馈手机号格式不对")
    private String phone;

    @ApiModelProperty("资源数组")
    private List<String> resourceList = CollectionUtils.emptyList();
}
